package vcp.entity;

import java.io.Serializable;

import org.joda.time.DateTime;
/**
 * <p> car class includes getters and setters </p>
 * @author VCP team
 *
 */
public class Car implements Serializable
{

	/**
	 * 
	 */
	private static final long serialVersionUID = - 4225298092567100275L;

	private int carID;
	/**
	 * getter
	 * @return car id
	 */
	public int getCarID ()
	{
		return this.carID;
	}
	/**
	 * setter
	 * @param carID
	 */
	public void setCarID ( int carID )
	{
		this.carID = carID;
	}

	private int subscriptionID;
	/**
	 * getter
	 * @return subscription id
	 */
	public int getSubscriptionID ()
	{
		return this.subscriptionID;
	}
	/**
	 * setter
	 * @param subscriptionID
	 */
	public void setSubscriptionID ( int subscriptionID )
	{
		this.subscriptionID = subscriptionID;
	}

	private int customerID;
	/**
	 * getter
	 * @return customer id
	 */
	public int getCustomerID ()
	{
		return this.customerID;
	}
	/**
	 * setter
	 * @param customerID
	 */
	public void setCustomerID ( int customerID )
	{
		this.customerID = customerID;
	}

	private boolean isParkedOnSite;
	/**
	 * getter
	 * @return true if car is parked on site
	 */
	public boolean isParkedOnSite ()
	{
		return this.isParkedOnSite;
	}
	/**
	 * setter
	 * @param isParkedOnSite
	 */
	public void setParkedOnSite ( boolean isParkedOnSite )
	{
		this.isParkedOnSite = isParkedOnSite;
	}

	private DateTime arrivedTime;
	/**
	 * getter
	 * @return arrival time
	 */
	public DateTime getArrivedTime ()
	{
		return this.arrivedTime;
	}
	/**
	 * setter
	 * @param arrivedTime
	 */
	public void setArrivedTime ( DateTime arrivedTime )
	{
		this.arrivedTime = arrivedTime;
	}

	private DateTime lastCheckOutDate;
	/**
	 * getter
	 * @return last check out date
	 */
	public DateTime getLastCheckOutDate ()
	{
		return this.lastCheckOutDate;
	}
	/**
	 * setter
	 * @param lastCheckOutDate
	 */
	public void setLastCheckOutDate ( DateTime lastCheckOutDate )
	{
		this.lastCheckOutDate = lastCheckOutDate;
	}

}
